package com.yxw.yxnet_cd_center.customer_service.entity;//生成Entity

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;

/**
 * @author liuxin
 * @date 2023.09.15
 */
@Data
@NoArgsConstructor
@TableName("yx_cs_notice")
@ApiModel("消息管理")
public class YxCsNoticeEntity   implements Serializable {

    private static final long serialVersionUID = 91694761863880L;
    /*
     *主键ID
     */
    @TableId(value = "notice_id",type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键ID")
    private Long id;
    /*
     *项目名称
     */
    @TableField("project_name")
    @ApiModelProperty(value = "项目名称")
    private String projectName;
    /*
     *项目ID
     */
    @TableField("project_id")
    @ApiModelProperty(value = "项目ID")
    private Integer projectId;
    /*
     *适用状态
     */
    @TableField("suit_status")
    @ApiModelProperty(value = "适用状态")
    private Long suitStatus;

    /*
     *提醒状态 0:禁用 2：启用
     */
    @TableField("status")
    @ApiModelProperty(value = "提醒状态 1:开启 0：禁用")
    private Integer status;

    /*
     *提醒内容
     */
    @TableField("notice_dec")
    @ApiModelProperty(value = "提醒内容")
    private String noticeDec;
    /*
     *是否循环提醒 0:否 1：是
     */
    @TableField("cycle_flag")
    @ApiModelProperty(value = "是否循环提醒 0:否 1：是")
    private Integer cycleFlag;
    /*
     *循环频次
     */
    @TableField("cycle_freq")
    @ApiModelProperty(value = "循环频次 秒/次")
    private Integer cycleFreq;
    /*
     *循环时长 分钟
     */
    @TableField("cycle_time")
    @ApiModelProperty(value = "循环时长 分钟")
    private Integer cycleTime;
    /*
     *提醒对象
     */
    @TableField("notice_object")
    @ApiModelProperty(value = "提醒对象")
    private Long noticeObject;
    /*
     *提醒对象
     */
    @TableField("notice_object_name")
    @ApiModelProperty(value = "提醒对象")
    private String noticeObjectName;

    /*
     *创建时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private java.util.Date createTime;
    /*
     *创建人ID
     */
    @TableField("create_id")
    @ApiModelProperty(value = "创建人ID")
    private Long createId;
    /*
     *创建人名称
     */
    @TableField("create_name")
    @ApiModelProperty(value = "创建人名称")
    private String createName;
    /*
     *更新时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    @TableField("update_time")
    private java.util.Date updateTime;
    /*
     *更新人ID
     */
    @TableField("update_id")
    @ApiModelProperty(value = "更新人ID")
    private Long updateId;
    /*
     *更新人名称
     */
    @TableField("update_name")
    @ApiModelProperty(value = "更新人名称")
    private String updateName;
}


